<template>
  <div class="nav">
    <h2>你这个吊毛，拽得很</h2>
    <button @click="btm">点我</button>
  </div>
</template>

<script>
export default {
  methods: {
    btm () {
      this.$bus.$emit('heihei', Date.now())
    }
  }
}
</script>

<style>
.nav {
  width: 300px;
  height: 300px;
  border: 5px solid red;
}
</style>
